-
Home
-
Nuclear Engagement – Instantly Generate AI Summaries, Quizzes & TOC at Scale
-
2.1.6 (latest)
-
Code
-
Classes
- CircuitBreaker
Total Complexity |
34 |
Dependencies |
1 |
Dependents |
6 |
Total lines |
347 |
Lines of code |
182 |
Logical lines of code |
94 |
Comment lines |
67 |
Methods |
15 |
Properties |
4 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_request_allowed() |
S |
53 |
7 |
24 |
record_success() |
S |
55 |
6 |
22 |
record_failure() |
S |
56 |
5 |
20 |
get_state() |
S |
59 |
2 |
15 |
open_circuit() |
S |
57 |
1 |
18 |
get_status() |
S |
63 |
2 |
10 |
schedule_health_check() |
S |
64 |
2 |
9 |
perform_health_check() |
S |
64 |
2 |
10 |
close_circuit() |
S |
60 |
1 |
14 |
__construct() |
S |
71 |
1 |
6 |
update_state() |
S |
74 |
1 |
4 |
transition_to_half_open() |
S |
63 |
1 |
10 |
force_reset() |
S |
71 |
1 |
6 |
should_perform_health_check() |
S |
74 |
1 |
4 |
register_health_check_handlers() |
S |
65 |
1 |
10 |